package flows;

import java.util.Vector;

public class Bubble {
	/**
	 * vector to next choices
	 */
	private Vector<Choice> _nexts;
	/**
	 * The title of this choice
	 */
	private String _title;
	/**
	 * This is the decision that will be offered in the
	 * bubble
	 */
	private String _dec;
	/**
	 *no params constructor 
	 */
	Bubble(){
		_title="";
		_dec="";
	}
	/**
	 * title only constructor
	 * @param title - the title for this bubble
	 */
	Bubble(String title){
		_title = title;
		_dec="";
	}
	/**
	 * title and decision message constructor
	 * @param title - title of bubble
	 * @param dec - decision message
	 */
	Bubble(String title, String dec){
		_title = title;
		_dec = dec;
	}
	/**
	 * title, decision message, and next choices
	 * constructor
	 * @param title - title of bubble
	 * @param dec - decision message
	 * @param nexts - vector of next available bubbles
	 * which the user will eventually choose
	 */
	Bubble(String title, String dec, Vector<Choice> nexts){
		_title = title;
		_dec = dec;
		_nexts = nexts;
	}
	
}
